package cn.zifangsky.jvm.part2.threadlocal;

import lombok.Data;

/**
 * @author zifangsky
 * @date 2020/7/11
 * @since 1.0.0
 */
@Data
public class User {
    private int id;
    private String name;

    public User(int id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        return "[id=" + String.valueOf(id) + ", name=" + name + "]";
    }
}
